'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function WriteValueAction(Of TValue)( _ ByVal dataVariable As UADataVariable, _ ByVal writeValueAction As Action(Of TValue), _ ByVal ParamArray arrayDimensions() As Integer _ ) As UADataVariable
'UsageDim dataVariable As UADataVariable Dim writeValueAction As Action(Of TValue) Dim arrayDimensions() As Integer Dim value As UADataVariable value = UADataVariableExtension.WriteValueAction(Of TValue)(dataVariable, writeValueAction, arrayDimensions)
[Extension()] [JetBrains.Annotations.NotNull()] public static UADataVariable WriteValueAction<TValue>( UADataVariable dataVariable, Action<TValue> writeValueAction, params int[] arrayDimensions )
[Extension()] [JetBrains.Annotations.NotNull()] public: static UADataVariable^ WriteValueActiongeneric<typename TValue> ( UADataVariable^ dataVariable, Action<TValue^>^ writeValueAction, ... array<int>^ arrayDimensions )
Parameters
- dataVariable
- The data variable that will be modified and returned.
The value of this parameter cannot be
null(Nothingin Visual Basic). - writeValueAction
- The write value action, i.e. the action that accepts the value to be written and performs the write operation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - arrayDimensions
- The size of each dimension of the array value.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Type Parameters
- TValue
- The type of the value of the data variable.
Return Value
This method never returns null (Nothing in Visual Basic).